package ml.practicum.learn;

import java.io.Serializable;
/**
 * This intace describes activation functions and the method
 * they use te caculate activation
 * @author jfs230
 *
 * @param <T> the value type (class) the activation function uses
 */
public interface ActivationFunction<T> extends Serializable{
	/**
	 * 
	 * @param input		the result of the internal formula of the model
	 * @return the activation correspondig to the input value 
	 */
	T activation(double input);
}
